package com.test.dao.impl;

import com.test.dao.UserDao;

/**
 * @ClasName UserDaoImpl
 * @Descripution TODO
 * @Author USER
 * @Date 2022/2/28 16:18
 * @Version V1.0
 */
public class UserDaoImpl  implements UserDao {


    private String username;
    private String password;

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public UserDaoImpl() {
        System.out.println("userDao被创建了");
    }

    @Override
    public void add() {
        System.out.println("UserDao ..."+" "+ username +" " + password);
    }
}
